package com.sykj.jiangpengcheng.controller;

import com.sykj.jiangpengcheng.service.HrDegreeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/hrdegger")
public class HrDegreeController {
    @Autowired
    private HrDegreeService hrDegreeService;
    @RequestMapping("/query")
    public List query(){
        return hrDegreeService.list(null);
    }
}
